package com.jy.adscm.declarationForm.mapper;

import com.jy.adscm.declarationForm.bean.JyDeclarationForm;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 经销商报单表 Mapper 接口
 * </p>
 *
 * @author yyy
 * @since 2019-01-21
 */
public interface JyDeclarationFormMapper extends BaseMapper<JyDeclarationForm> {

    List<JyDeclarationForm> queryApplyByDealerId(@Param("dealerIds") List<Integer> dealerId,@Param("isYix") int isYix);
    List<JyDeclarationForm> selectAll(@Param("dealerIds") List<Integer> dealerIds);

    List<JyDeclarationForm> queryHospitalDeclarationFormDetail(@Param("hospitalId") Long hospitalId);

}
